<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>上传新商品</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}">
</head>
<body>
<h1>上传文件</h1>
<form th:action="@{/upload}" enctype="multipart/form-data" method="post">
    <div class="form-group">
        选择文件：<input name="fileName" type="file" id="formFileMultiple" multiple>
    </div>
    <button class="btn btn-success" type="submit">提交</button>
</form>

<div th:text="${msg}"></div>
</body>
</html>